package com.cskaoyan.market.vo;/*
 *文件名: TimeVo
 *创建者:wxin
 *创建时间:2024/5/8 22:22
 */

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class TimeConUtil {
    public static String TimeCon(LocalDateTime t1){
        LocalDateTime dateTime = t1;
        DateTimeFormatter fmt12 = DateTimeFormatter.ofPattern("yyyy-MM-dd");
        String dateStr = dateTime.format(fmt12);
        return dateStr;
    }
}
